package com.hall.items.aggr;

import org.springframework.data.mongodb.core.mapping.Document;

@Document
public class MyWeaponLevel {
	private long id;
	private int level;
	private MyWeapon weapon;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public void add() {
		level++;
	}

	public MyWeapon getWeapon() {
		return weapon;
	}

	public void setWeapon(MyWeapon weapon) {
		this.weapon = weapon;
	}

}
